from barrelhouse.core.locations.models import site, datacenter
from django.contrib import admin

class site_admin(admin.ModelAdmin):

    save_on_top = True
    list_display = ('name','abbreviation','site_contact_phone','full_address')

class datacenter_admin(admin.ModelAdmin):

    save_on_top = True
    list_display = ('name', 'site', 'vendor')

admin.site.register(site, site_admin)
admin.site.register(datacenter, datacenter_admin)
